<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
	<title> 首页 </title>
	<meta http-equiv="content-Type" content="text/html;charset=UTF-8">
	<meta name="Generator" content="EditPlus">
	<meta name="Author" content="">
	<meta name="Keywords" content="">
	<meta name="Description" content="">
	<link rel="stylesheet" type="text/css" href="{:__TMPLPUB__}/Css/main.css" />
 </head>
 <body>
	<div id="container">
		<div class="title">
			<a href="">主页</a>&nbsp;>&nbsp;<a href="">系统信息</a>
		</div>
		<div id="content">
			<h2>目录权限</h2>
			<p>小提示:请正确配置以下信息,以便站点能够正确运行</p>
			<table class="info" cellpadding="0" cellspacing="0">
			<thead>
				<tr>
					<th>目录/文件</th>
					<th>可读</th>
					<th>可写</th>
				</tr>
			</thead>
			<tbody>
			<foreach for=arrTestDir value=sDir>
				<tr>
					<td>{$sDir}</td>
					<php> $sFullPath=APP_PATH.'/..'.str_replace('/*','',$sDir);
						$sRead=(is_readable($sFullPath)== true)?'<font color=green>'.'yes'.'</font>':'<font color=red>'.'no'.'</font>'; 
						$sWrite=(is_writeable($sFullPath)== true)?'<font color=green>'.'yes'.'</font>':'<font color=red>'.'no'.'</font>';</php>
					<td>{$sRead}</td>
					<td>{$sWrite}</td>
				</tr>
			</foreach>
			<tr></tr>
			</tbody>
			</table>
			<h2>服务器信息</h2>
			<p>小提示:切勿随便提供给他人<a href="{:Dyhb::U('public/php_info')}">[PHPinfo]</a></p>
			<table class="info" cellpadding="0" cellspacing="0">
				<thead>
					<tr>
						<th>系统名字</th>
						<th>当前值</th>
					</tr>
				</thead>
				<tbody>
					<foreach for=arrServerInfo value=sValue key=sKey>
						<tr>
							<td>{$sKey}</td>
							<td>{$sValue}</td>
						</tr>
					</foreach>
				</tbody>
			</table>
		</div>
	</div>
	<script type="text/javascript" src="{:__ROOT__}/Public/Js/jquery.js">
	</script>
 </body>
</html>